package cc.comac.mom.api.config;

import cc.comac.mom.bean.config.EquipDataConfigParamBean;
import cc.comac.mom.entity.config.EquipDataConfigEntity;
import cc.comac.mom.util.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipDataConfigService {

	@RequestMapping(value = "/p/cs/EquipDataConfigService/save",method = RequestMethod.POST)
	ResultBean save(@RequestBody EquipDataConfigEntity obj);

	@RequestMapping(value = "/p/cs/EquipDataConfigService/update",method = RequestMethod.POST)
	ResultBean update(@RequestBody EquipDataConfigEntity obj);

	@RequestMapping(value = "/p/cs/EquipDataConfigService/delete",method = RequestMethod.POST)
	ResultBean delete(@RequestBody EquipDataConfigEntity obj);

	@RequestMapping(value = "/p/cs/EquipDataConfigService/getById",method = RequestMethod.POST)
	ResultBean getById(@RequestBody EquipDataConfigEntity obj);

	@RequestMapping(value = "/p/cs/EquipDataConfigService/selectByCondition",method = RequestMethod.POST)
	ResultBean selectByCondition(@RequestBody EquipDataConfigParamBean obj);
	}
